<template>
  <div class="login_box">
    <button @click="goIndex" class="button">立即登录</button>
  </div>
</template>

<script>
  export default {
    name: "login",
    data() {
      return {}
    },
    methods: {
      goIndex(){
        this.$router.push('/Index')
      }
    }
  }
</script>

<style lang="scss" scoped>
  .login_box {
    width: 100%;
    .button {
      width: 90%;
      height: 80px;
      background: #00c000;
      color: #fff;
      font-size: 30px;
    }
  }
</style>
